cookies = """[{"domain": ".bilibili.com", "expiry": 1761912605, "httpOnly": false, "name": "browser_resolution", "path
": "/", "sameSite": "Lax", "secure": false, "value": "1440-773"}, {"domain": "www.bilibili.com", "httpOnl
y": false, "name": "bmg_src_def_domain", "path": "/", "sameSite": "Lax", "secure": false, "value": "i0.hd
slb.com"}, {"domain": ".bilibili.com", "expiry": 1761912604, "httpOnly": false, "name": "home_feed_column
", "path": "/", "sameSite": "Lax", "secure": false, "value": "5"}, {"domain": ".bilibili.com", "expiry":
1761912604, "httpOnly": false, "name": "enable_web_push", "path": "/", "sameSite": "Lax", "secure": false
, "value": "DISABLE"}, {"domain": ".bilibili.com", "expiry": 1761912604, "httpOnly": false, "name": "_uui
d", "path": "/", "sameSite": "Lax", "secure": false, "value": "C3782597-F10DF-108A9-997C-146D7F81BE7F0462
1infoc"}, {"domain": ".bilibili.com", "httpOnly": false, "name": "b_lsid", "path": "/", "sameSite": "Lax"
, "secure": false, "value": "3AA479B10_192E27B9BBB"}, {"domain": ".bilibili.com", "expiry": 1764936605, "
httpOnly": false, "name": "buvid_fp", "path": "/", "sameSite": "Lax", "secure": false, "value": "4bb0d8bc
8fca4b9e339c1f4b5eca7d90"}, {"domain": ".bilibili.com", "expiry": 1761912603, "httpOnly": false, "name":
"b_nut", "path": "/", "sameSite": "Lax", "secure": false, "value": "1730376603"}, {"domain": ".bilibili.c
om", "expiry": 1764936605, "httpOnly": false, "name": "buvid4", "path": "/", "sameSite": "Lax", "secure":
 false, "value": "483215AC-C991-4A0E-4C6B-06CD93D046AA04895-024103112-06eFV%2FyUYeKz0bhJa2OpAg%3D%3D"}, {
"domain": "www.bilibili.com", "httpOnly": false, "name": "bmg_af_switch", "path": "/", "sameSite": "Lax",
 "secure": false, "value": "1"}, {"domain": ".bilibili.com", "expiry": 1761912603, "httpOnly": false, "na
me": "buvid3", "path": "/", "sameSite": "Lax", "secure": false, "value": "3ADDB6F7-C19A-2B99-0A97-F7391B7
32D1703389infoc"}]"""

import json

cookies = cookies.replace("\n", "")
cookies = json.loads(cookies)

new_cookies = dict()
for cookie in cookies:
    new_cookies["name"] = cookie["value"]

